 {literal}
<script type="text/javascript">
	$(function() {
		$('#imgs a').lightBox(); // Select all links in object with gallery ID
	});
</script>
{/literal}

<div id="images-container">
	<div id="imgs">
		{foreach key=index item=product from=$products}
			{assign var=image_urls value=$product->get_image_urls()}
			{foreach key=index2 item=image from=$image_urls}
				{assign var=image_path value=$image.image_path}
				{assign var="image_thumb_path" value=$image.image_thumb_path}
				<div class="img"><a href='{$image_path}' title='{$product->get_reference()} - {$product->get_name()} - ${$product->get_price()} - {$product->get_description()} '><img src='{$image_thumb_path}' alt="" width="96" height="96"/></a></div>
			{/foreach}
		{/foreach}
	</div>
</div>

